package com.ningxun.pagentcrawler;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * 爬虫服务启动类
 */
@SpringBootApplication
@ComponentScan(basePackages = {
    "com.ningxun.pagentcrawler",
    "com.ningxun.pagent.bus.mapper",
    "com.ningxun.pagent.bus.domain",
    "com.ningxun.pagent.common.core.domain",
    "com.ningxun.pagent.common"
})
@MapperScan({"com.ningxun.pagentcrawler.mapper", "com.ningxun.pagent.bus.mapper","com.ningxun.pagent.flow.mapper"})
public class PagentCrawlerApplication {

	public static void main(String[] args) {
		SpringApplication.run(PagentCrawlerApplication.class, args);
		System.out.println("(♥◠‿◠)ﾉﾞ  爬虫服务启动成功！");
	}
}
